import request from '@/utils/request'
/* 分类列表*/
export function getList(data = {}) {
	return request({
		url: '/Sheji/ArticleCat/getList',
		method: 'post',
		data: {
			is_help: 2,
			...data
		}
	})
}
/* 新增/编辑分类*/
export function edit(data = {}) {
	return request({
		url: '/Sheji/ArticleCat/edit',
		method: 'post',
		data: {
			is_help: 2,
			...data
		}
	})
}
/* 文章列表*/
export function getArticleList(data = {}) {
	return request({
		url: '/Sheji/Article/getList',
		method: 'post',
		data: {
			is_help: 2,
			...data
		}
	})
}
/* 文章详情*/
export function getArticleInfo(data = {}) {
	return request({
		url: '/Sheji/Article/getInfo',
		method: 'post',
		data: {
			is_help: 2,
			...data
		}
	})
}
/* 新增*/
export function editArticle(data = {}) {
	return request({
		url: '/Sheji/Article/edit',
		method: 'post',
		data: {
			is_help: 2,
			...data
		}
	})
}